package com.xx.xxx.provider;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by sa on 2017/5/30.
 */
public class Main {

    private static Logger logger = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) {
        try {
            ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:applicationContext-provider.xml");
            context.start();
            System.in.read();
        } catch (Exception e) {
            logger.error(e.getMessage(), e);
        }
    }
}
